<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <img v-bind:src="imgUrl" v-bind:title="msg" alt="">
        <img :src="imgUrl" :title="msg" alt="">
        <!-- <button v-show="index>0" @click="index--">上一页</button>
        <div>
            <img v-bind:src="list[index]" alt="">
        </div>
        <button v-show="index<list.length-1" @click="index++">下一页</button> -->
        <ul>
            <li v-for="item in list">{{item}} 

            </li>
        </ul>

    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.7.16/dist/vue.js"></script>
    <script>
        const app = new Vue({
            el: "#app",
            data: {
                index: 0,
                list: ['西瓜', '苹果', '梨'],


                msg: "hello"

            },
            methods: {

            }
        })
    </script>

</body>

</html>